Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DX improvements for the unit tests #9805

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

k-yle
Copy link
Collaborator

@k-yle k-yle commented Aug 1, 2023

Installing @types/chai and declaring expect as a global means that IDEs like VS Code can provide auto-complete suggestions as you type, which makes it much easier to write tests for people who aren't familiar with chai

likewise, declaring the type of window.iD means that IDEs can show suggestions and allow you to use a keyboard shortcut like F12 to jump to the definition of any function. I think this would pretty helpful for occasional contributors like myself

bhousel added a commit to facebook/Rapid that referenced this pull request Aug 14, 2023
@k-yle k-yle mentioned this pull request Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant